e30471b84c3f915749393cfd064a34152391772f
[git-annex.git] /
1 [[!comment format=mdwn
2  username="joey"
3  subject="""comment 1"""
4  date="2017-12-05T17:24:24Z"
5  content="""
6 What happens is `git annex adjust` creates a branch and runs `git checkout`
7 to check it out. Then git calls `git-annex smudge` on files, and
8 unfortunately the git smudge interface requires that git-annex output the
9 whole content of the file, to stdout, which git then writes to disk.
10
11 So yes, this doesn't use reflinks, but it's worse than that, a better
12 interface would let git-annex simply move or hard-link the file into place,
13 even on filesystems not supporting reflinks.
14
15 This is discussed in detail in [[todo/smudge]]. Unfortunately it will need
16 a better interface in git to be addressed, and that's why v6 is still an
17 experimental feature.
18 """]]